const routes = [
// 职务
    {
        path: '/workCalendar',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/workcalendar/WorkCalendar.vue'),
        meta: {
            titleCode:'',
            title: '工作日历管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/workCalendar/workCalendarAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/workcalendar/WorkCalendarAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加工作日历'
        }
    },
    {
        path: '/workCalendar/workCalendarEdit/:workCalendarId',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/workcalendar/WorkCalendarEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改工作日历'
        }
    },
    {
        path: '/workCalendar/workCalendarView',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/workcalendar/WorkCalendarView.vue'),
        meta: {
            titleCode:'',
            title: '工作日历查看',
            root:true
        }
    },
    {
        path: '/adver',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/adver/Adver.vue'),
        meta: {
            titleCode:'',
            title: '广告管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/adver/adverAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/adver/AdverAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加广告'
        }
    },
    {
        path: '/adver/adverEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/adver/AdverEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改广告'
        }
    },
    {
        path: '/banner',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/banner/Banner.vue'),
        meta: {
            titleCode:'',
            title: 'banner管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/banner/bannerAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/banner/BannerAdd.vue'),
        meta: {
            titleCode:'',
            title: '添加banner'
        }
    },
    {
        path: '/banner/bannerEdit/:bannerId',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/banner/BannerEdit.vue'),
        meta: {
            titleCode:'',
            title: '修改banner'
        }
    },
    {
        path: '/feedback',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/feedback/Feedback.vue'),
        meta: {
            titleCode:'',
            title: '意见反馈管理',
            keepAlive: true,
            root:true
        }
    },
    {
        path: '/feedback/feedbackReply/:feedbackId',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/feedback/FeedbackReply.vue'),
        meta: {
            titleCode:'',
            title: '意见反馈回复'
        }
    },
    {
        path: '/developer/baseSwaggerDoc',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/developer/swagger/BaseSwaggerDoc.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '基础应用接口文档'
        }
    },
    {
        path: '/developer/attendSwaggerDoc',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/developer/swagger/AttendSwaggerDoc.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '考勤应用接口文档'
        }
    },
    {
        path: '/developer/authSwaggerDoc',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/developer/swagger/AuthSwaggerDoc.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '认证应用接口文档'
        }
    },
    {
        path: '/developer/workflowSwaggerDoc',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/developer/swagger/WorkflowSwaggerDoc.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '工作流引擎接口文档'
        }
    },
    {
        path: '/developer/wxSwaggerDoc',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/developer/swagger/WxSwaggerDoc.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '微信应用接口文档'
        }
    },
    {
        path: '/activity',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/activity/Activity.vue'),
        meta: {
            titleCode:'',
            root:true,
            keepAlive: true,
            title: '活动管理'
        }
    },
    {
        path: '/activity/activityAdd',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/activity/ActivityAdd.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '活动添加'
        }
    },
    {
        path: '/activity/activityEdit/:id',
        component: () => import((process.env.VUE_APP_PORTALONE == 'true' ? '../../../composite/src': '@') + '/views/activity/ActivityEdit.vue'),
        meta: {
            titleCode:'',
            root:false,
            keepAlive: false,
            title: '活动编辑'
        }
    },
]
export default routes